package org.batatasframework.web.element;

import org.batatasframework.web.template.TemplateRender;

public class Textarea extends AbstractElementContent<String>{

	public Textarea(HtmlAttribute attr, TemplateRender templateRender, String propretyName){
		super("textarea");
		this.content = templateRender.value(propretyName, true);
	}

	public Textarea(HtmlAttribute attr, String value){
		super("textarea");
		this.content = value;
	}
}
